package net.hust.bean;

import java.util.Date;

/**
 * Recommand entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Recommand implements java.io.Serializable {

	// Fields

	private Integer recId;
	private Admin admin;
	private Song song;
	private String reason;
	private Date date;

	// Constructors

	/** default constructor */
	public Recommand() {
	}

	/** minimal constructor */
	public Recommand(Integer recId, Admin admin, Song song, Date date) {
		this.recId = recId;
		this.admin = admin;
		this.song = song;
		this.date = date;
	}

	/** full constructor */
	public Recommand(Integer recId, Admin admin, Song song, String reason,
			Date date) {
		this.recId = recId;
		this.admin = admin;
		this.song = song;
		this.reason = reason;
		this.date = date;
	}

	// Property accessors

	public Integer getRecId() {
		return this.recId;
	}

	public void setRecId(Integer recId) {
		this.recId = recId;
	}

	public Admin getAdmin() {
		return this.admin;
	}

	public void setAdmin(Admin admin) {
		this.admin = admin;
	}

	public Song getSong() {
		return this.song;
	}

	public void setSong(Song song) {
		this.song = song;
	}

	public String getReason() {
		return this.reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

}